/** \file gu_shader_variable.cpp */

#include "gu_shader_variable.h"


namespace gu
{

Variable makeVariable(TypeMapping& map, VariableType& type, std::string name)
{
    Variable var = {map, type, name};
    return var;
}

Variable makeVariable(TypeMapping& map, VariableType& type, const char* name)
{
    Variable var = {map, type, std::string(name)};
    return var;
}



}
